package com.suning.sawp.constants;

import java.util.HashMap;
import java.util.Map;

/**
 * 
 * 错误编码常量类<br>
 * 〈功能详细描述〉 为方便统一管理，所有涉及到的错误编码均放在此常量类中，对应的描述置于ERR_MAP中 并且请同步更新店+接口文档
 * （http://svndoc
 * .cnsuning.com/svn/ProductRepoE/01.客户端升级/1.4系统开发/03详细设计/店+服务端/店+相关接口.xlsx）
 *
 * @author 12061818
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class ErrorCodeConstants {

	private ErrorCodeConstants() {
	}

	public static final Map<String, String> ERR_MAP = new HashMap<String, String>();

	public static final String ERR_1001 = "1001";
	public static final String ERR_1002 = "1002";
	public static final String ERR_1003 = "1003";
	public static final String ERR_1004 = "1004";
	public static final String ERR_1005 = "1005";
	public static final String ERR_1006 = "1006";
	public static final String ERR_1007 = "1007";
	public static final String ERR_1008 = "1008";
	public static final String ERR_1009 = "1009";
	public static final String ERR_1010 = "1010";
	public static final String ERR_1011 = "1011";
	public static final String ERR_1012 = "1012";
	public static final String ERR_1013 = "1013";
	public static final String ERR_1014 = "1014";
	public static final String ERR_1015 = "1015";
	public static final String ERR_1016 = "1016";
	public static final String ERR_1017 = "1017";
	public static final String ERR_1018 = "1018";
	public static final String ERR_1019 = "1019";
	public static final String ERR_1020 = "1020";
	public static final String ERR_1021 = "1021";
	public static final String ERR_1022 = "1022";
	public static final String ERR_1023 = "1023";
	public static final String ERR_1024 = "1024";
	public static final String ERR_1025 = "1025";

	public static final String ERR_0001 = "0001";
	public static final String ERR_0002 = "0002";
	public static final String ERR_0003 = "0003";
	public static final String ERR_0004 = "0004";
	public static final String ERR_0005 = "0005";
	public static final String ERR_0006 = "0006";
	public static final String ERR_0007 = "0007";
	public static final String ERR_0008 = "0008";
	public static final String ERR_0009 = "0009";
	public static final String ERR_0010 = "0010";
	public static final String ERR_0011 = "0011";
	public static final String ERR_0012 = "0012";
	public static final String ERR_0013 = "0013";
	public static final String ERR_0014 = "0014";
	public static final String ERR_0015 = "0015";
	public static final String ERR_0016 = "0016";
	public static final String ERR_0017 = "0017";
	public static final String ERR_0018 = "0018";
	public static final String ERR_0019 = "0019";
	public static final String ERR_0020 = "0020";
	public static final String ERR_0021 = "0021";
	public static final String ERR_0022 = "0022";
	public static final String ERR_0023 = "0023";
	public static final String ERR_0024 = "0024";
	public static final String ERR_0025 = "0025";
	public static final String ERR_0026 = "0026";
	public static final String ERR_0027 = "0027";
	public static final String ERR_0028 = "0028";

	public static final String ERR_0029 = "0029";
	public static final String ERR_0030 = "0030";
	public static final String ERR_0031 = "0031";
	public static final String ERR_0032 = "0032";
	public static final String ERR_0033 = "0033";
	public static final String ERR_0034 = "0034";
	public static final String ERR_0035 = "0035";
	public static final String ERR_0036 = "0036";
	public static final String ERR_0037 = "0037";
	public static final String ERR_0038 = "0038";
	public static final String ERR_0039 = "0039";
	public static final String ERR_0040 = "0040";
	public static final String ERR_0041 = "0041";
	public static final String ERR_0042 = "0042";
	public static final String ERR_0043 = "0043";
	public static final String ERR_0044 = "0044";
	public static final String ERR_0045 = "0045";
	public static final String ERR_0046 = "0046";
	public static final String ERR_0047 = "0047";

	/*设备绑定*/
	public static final String ERR_0048 = "0048";
	public static final String ERR_0049 = "0049";
	public static final String ERR_0050 = "0050";
	public static final String ERR_0051 = "0051";
	public static final String ERR_0052 = "0052";
	public static final String ERR_0053 = "0053";
	public static final String ERR_0054 = "0054";
	public static final String ERR_0055 = "0055";
	public static final String ERR_0057 = "0057";
	
	// 以旧换新-关闭校验epp,非会员报错
	public static final String ERR_0056 = "0056";
	// 会员拓展相关异常
	public static final String ERR_MEM_0001 = "mem_0001";
	public static final String ERR_MEM_0002 = "mem_0002";
	public static final String ERR_MEM_0003 = "mem_0003";
	public static final String ERR_MEM_0004 = "mem_0004";
	public static final String ERR_MEM_0005 = "mem_0005";
	public static final String ERR_MEM_0006 = "mem_0006";
	public static final String ERR_MEM_0007 = "mem_0007";
	public static final String ERR_MEM_0008 = "mem_0008";
	public static final String ERR_MEM_0009 = "mem_0009";
	public static final String ERR_MEM_0010 = "mem_0010";
	public static final String ERR_MEM_0011 = "mem_0011";
	public static final String ERR_MEM_0012 = "mem_0012";
	public static final String ERR_MEM_0013 = "mem_0013";
	public static final String ERR_MEM_0014 = "mem_0014";
	public static final String ERR_MEM_0030 = "mem_0030";
	public static final String ERR_MEM_0031 = "mem_0031";
	public static final String ERR_MEM_0032 = "mem_0032";
	public static final String ERR_MEM_0033 = "mem_0033";
	public static final String ERR_MEM_0034 = "mem_0034";
	public static final String ERR_MEM_0035 = "mem_0035";
	public static final String ERR_MEM_0036 = "mem_0036";
	public static final String ERR_MEM_0037 = "mem_0037";
	public static final String ERR_MEM_0038 = "mem_0038";
	public static final String ERR_MEM_0039 = "mem_0039";
	public static final String ERR_MEM_0040 = "mem_0040";
	public static final String ERR_MEM_0041 = "mem_0041";
	public static final String ERR_MEM_0042 = "mem_0042";
	public static final String ERR_MEM_0043 = "mem_0043";
	public static final String ERR_MEM_0044 = "mem_0044";
	public static final String ERR_MEM_0045 = "mem_0045";
	public static final String ERR_MEM_0046 = "mem_0046";
	public static final String ERR_MEM_0047 = "mem_0047";
	public static final String ERR_MEM_0048 = "mem_0048";
	public static final String ERR_MEM_0049 = "mem_0049";
	public static final String ERR_MEM_0050 = "mem_0050";
	public static final String ERR_MEM_0051 = "mem_0051";
	public static final String ERR_MEM_0052 = "mem_0052";
	public static final String ERR_MEM_0053 = "mem_0053";
	public static final String ERR_MEM_0054 = "mem_0054";

	public static final String ERR_MEM_0015 = "mem_0015";
	public static final String ERR_MEM_0016 = "mem_0016";
	public static final String ERR_MEM_0017 = "mem_0017";
	public static final String ERR_MEM_0018 = "mem_0018";
	public static final String ERR_MEM_0019 = "mem_0019";
	public static final String ERR_MEM_0020 = "mem_0020";
	public static final String ERR_MEM_0021 = "mem_0021";
	public static final String ERR_MEM_0022 = "mem_0022";
	public static final String ERR_MEM_0023 = "mem_0023";
	
	//货架管理
	public static final String ERR_FAST_SALE_0001 = "fast_sale_0001";

	public static final String EXCHANGE_REQ_ILLEGAL = "EXCHANGE_0001";
	public static final String EXCHANGE_OUT_SYS_ERR = "EXCHANGE_0002";
	public static final String EXCHANGE_EMPTY_LIST = "EXCHANGE_0003";
	public static final String EXCHANGE_NO_STORE = "EXCHANGE_0004";
	public static final String EXCHANGE_NO_COUPON = "EXCHANGE_0005";
	public static final String EXCHANGE_NO_ORDER = "EXCHANGE_0006";
	public static final String EXCHANGE_SAVE_RULE = "EXCHANGE_1001";

	static {
		ERR_MAP.put(ERR_0002, "系统异常");
		ERR_MAP.put(ERR_0001, "请求参数不合法");
		ERR_MAP.put(ERR_0003, "请求参数{0}必填");
		ERR_MAP.put(ERR_0004, "请求参数{0}不合法");
		ERR_MAP.put(ERR_0005, "数据保存失败");
		ERR_MAP.put(ERR_0006, "导出数量超过%s条");
		ERR_MAP.put(ERR_0007, "参数不能为空");
		ERR_MAP.put(ERR_0008, "请核对导入的文件格式");
		ERR_MAP.put(ERR_0009, "异业券总数超过限定值");
		ERR_MAP.put(ERR_0010, "该活动已停用");
		ERR_MAP.put(ERR_0011, "该活动已经生成过券,无法重复生成");
		ERR_MAP.put(ERR_0012, "该活动正在生成券,请稍等");
		ERR_MAP.put(ERR_0013, "该活动正在生成券文件,请稍等");
		ERR_MAP.put(ERR_0014, "异业券前缀序列超过限定位数,无法生成异业券");
		ERR_MAP.put(ERR_0015, "异业券生成文件失败");
		ERR_MAP.put(ERR_0016, "该活动生成券状态不正确,不可进行该操作");
		ERR_MAP.put(ERR_0017, "该活动生成券文件数据丢失,无法生成文件");
		ERR_MAP.put(ERR_0018, "该活动异业券文件不存在");
		ERR_MAP.put(ERR_0019, "导出数量不能为空");
		ERR_MAP.put(ERR_0020, "该请求并发达到阀值");
		ERR_MAP.put(ERR_0021, "活动名称不存在");
		ERR_MAP.put(ERR_0022, "非法设备");
		ERR_MAP.put(ERR_0023, "未认证设备");
		ERR_MAP.put(ERR_0024, "设备ID为空");
		ERR_MAP.put(ERR_0025, "此链接已超过今日访问上限");
		ERR_MAP.put(ERR_0026, "您的客户端版本过低，要下载最新版才能使用哦~");
		ERR_MAP.put(ERR_0027, "店员信息查询错误");
		ERR_MAP.put(ERR_0028, "查询异常");
		ERR_MAP.put(ERR_0029, "查询易付宝账户接口参数异常");
		ERR_MAP.put(ERR_0030, "以旧换新SCM配置信息不完善,联系管理员");
		ERR_MAP.put(ERR_0031, "易付宝账号未激活");
		ERR_MAP.put(ERR_0032, "未绑定易付宝账号");
		ERR_MAP.put(ERR_0033, "手机号没有注册苏宁易购会员");
		ERR_MAP.put(ERR_0034, "手机号必填");
		ERR_MAP.put(ERR_0035, "您没有权限操作");
		ERR_MAP.put(ERR_0036, "未绑定易购账号");
		ERR_MAP.put(ERR_0037, "样机数量请输入0-99的整数");
		ERR_MAP.put(ERR_0038, "删除商品失败,请重试");
		ERR_MAP.put(ERR_0039, "保存商品失败,请重试");
		ERR_MAP.put(ERR_0040, "保存聚合页信息失败,请重试");
		ERR_MAP.put(ERR_0041, "更新聚合页信息失败,请重试");
		// RSF异常
		ERR_MAP.put(ERR_0042, "网络繁忙，请稍后再试");
		ERR_MAP.put(ERR_0043, "店员分配数量必须大于门店目标数量");
		ERR_MAP.put(ERR_0044, "上传图片大小超出限制");
		// ESB异常
		ERR_MAP.put(ERR_0045, "网络繁忙，请稍后再试");
		// 数据库异常
		ERR_MAP.put(ERR_0046, "网络繁忙，请稍后再试");
		ERR_MAP.put(ERR_0047, "你的账号存在风险，已经被禁用，请联系客服");
		
		// 设备绑定
		ERR_MAP.put(ERR_0048, "未绑定设备");
		ERR_MAP.put(ERR_0049, "未绑定设备且当前帐号已锁定");
		ERR_MAP.put(ERR_0050, "当前设备ID为空");
		ERR_MAP.put(ERR_0051, "用户已在白名单");
		ERR_MAP.put(ERR_0052, "用户不在白名单");
		ERR_MAP.put(ERR_0053, "当前帐号已申请了解锁");
		ERR_MAP.put(ERR_0054, "当前帐号未被锁定");
		ERR_MAP.put(ERR_0055, "当前帐号已被锁定且不在白名单");
		ERR_MAP.put(ERR_0056, "手机号没有注册苏宁易购会员");
		ERR_MAP.put(ERR_0057, "当前设备已是当前帐号绑定设备");
		
		

		ERR_MAP.put(ERR_1001, "关注商品失败");
		ERR_MAP.put(ERR_1001, "关注商品失败");
		ERR_MAP.put(ERR_1002, "您关注的商品已达到上限");
		ERR_MAP.put(ERR_1003, "此商品已经被关注");
		ERR_MAP.put(ERR_1004, "取消商品关注失败");
		ERR_MAP.put(ERR_1005, "取消商品关注失败");
		ERR_MAP.put(ERR_1006, "抱歉，%s品类负责人已关联到其它云导购，如果有变更请向运营部门反馈。");
		ERR_MAP.put(ERR_1007, "修改店员品类信息失败");
		ERR_MAP.put(ERR_1008, "上传用户头像失败");
		ERR_MAP.put(ERR_1009, "该用户不存在");
		ERR_MAP.put(ERR_1010, "促销活动不存在");
		ERR_MAP.put(ERR_1011, "本批次导入的券号中存在重复券号，请仔细检查");
		ERR_MAP.put(ERR_1012, "本批次导入的券总量超过剩余可导入券总量，还可导入%s张券");
		ERR_MAP.put(ERR_1013, "操作码非法");
		ERR_MAP.put(ERR_1014, "异业券号不合法，请仔细核对");
		ERR_MAP.put(ERR_1015, "查询异业券统计失败");
		ERR_MAP.put(ERR_1016, "未能从登录日志中查到相应设备ID");
		ERR_MAP.put(ERR_1017, "门店已存在客户外拓信息");
		ERR_MAP.put(ERR_1018, "该地点外拓任务不存在");
		ERR_MAP.put(ERR_1019, "新增客户关系失败");
		ERR_MAP.put(ERR_1020, "更新客户信息失败");
		ERR_MAP.put(ERR_1021, "最多能添加6个标签");
		ERR_MAP.put(ERR_1022, "最多能添加10个意向商品");
		ERR_MAP.put(ERR_1023, "易购账号不存在");
		ERR_MAP.put(ERR_1024, "店员已维护过该客户，无法分配");
		ERR_MAP.put(ERR_1025, "此客户已被分配");

		ERR_MAP.put(ERR_MEM_0001, "保存活动失败"); // 保存的整个过程中，发生异常了，需要查日志，才可明确具体原因
		ERR_MAP.put(ERR_MEM_0002, "登录人员非法"); // 没查到登录人
		ERR_MAP.put(ERR_MEM_0003, "只有店长才可以创建活动"); // 校验：客户端只有店长才可以创建活动，后端无此限制
		ERR_MAP.put(ERR_MEM_0004, "外拓活动的入参不合法"); // 0004的情况比较多，各种参数校验
		ERR_MAP.put(ERR_MEM_0005, "查询外拓活动发生异常");

		ERR_MAP.put(ERR_MEM_0006, "修改外拓活动，未传活动id");
		ERR_MAP.put(ERR_MEM_0007, "已结束的活动，不可以修改");
		ERR_MAP.put(ERR_MEM_0008, "已开始的活动，不可以修改开始时间");
		ERR_MAP.put(ERR_MEM_0009, "只能修改自己创建的活动");
		ERR_MAP.put(ERR_MEM_0010, "目标金额格式不正确");
		ERR_MAP.put(ERR_MEM_0011, "修改的品类数据不可以为空");
		ERR_MAP.put(ERR_MEM_0012, "只有店长，督导或店员，才可查询活动数据");
		ERR_MAP.put(ERR_MEM_0013, "查询活动列表失败");
		ERR_MAP.put(ERR_MEM_0014, "暂未查询到督导关联的品类数据");

		ERR_MAP.put(ERR_MEM_0030, "查询活动地点列表失败");
		ERR_MAP.put(ERR_MEM_0031, "活动id和品类编码不可以为空");
		ERR_MAP.put(ERR_MEM_0032, "任务拓展id不可以为空");
		ERR_MAP.put(ERR_MEM_0033, "任务拓展详情查询失败");
		ERR_MAP.put(ERR_MEM_0034, "新增/编辑拓展任务失败，必填参数不可为空");
		ERR_MAP.put(ERR_MEM_0035, "结束时间必须大于开始时间");
		ERR_MAP.put(ERR_MEM_0036, "发生异常:%s");
		ERR_MAP.put(ERR_MEM_0037, "删除活动时，活动id不可以为空");
		ERR_MAP.put(ERR_MEM_0038, "并不是本人创建的活动，不能删除");
		ERR_MAP.put(ERR_MEM_0039, "此活动已经有拓展的客户了，不能删除");
		ERR_MAP.put(ERR_MEM_0040, "删除任务时，任务id不可以为空");
		ERR_MAP.put(ERR_MEM_0041, "此任务已经有拓展的客户了，不能删除");
		ERR_MAP.put(ERR_MEM_0042, "查询活动列表失败,%s");
		ERR_MAP.put(ERR_MEM_0043, "此用户已参加本活动了");
		ERR_MAP.put(ERR_MEM_0044, "查询信息失败，%s");
		ERR_MAP.put(ERR_MEM_0045, "保存客户失败,参数校验未通过");
		ERR_MAP.put(ERR_MEM_0046, "保存客户资料异常");
		ERR_MAP.put(ERR_MEM_0047, "不在任务时间段内，不可以拓展会员");
		ERR_MAP.put(ERR_MEM_0048, "查询店员任务地点列表异常。%s");
		ERR_MAP.put(ERR_MEM_0049, "新增任务不可以超过100个");
		ERR_MAP.put(ERR_MEM_0050, "门店每月最多只可以创建10个活动呢");
		ERR_MAP.put(ERR_MEM_0051, "此会员已经设置过标签了");
		ERR_MAP.put(ERR_MEM_0052, "标签库暂无标签");
		ERR_MAP.put(ERR_MEM_0053, "参数错误，非空项不可以为空");
		ERR_MAP.put(ERR_MEM_0054, "保存标签错误");

		ERR_MAP.put(ERR_MEM_0015, "分配共享客户失败");
		ERR_MAP.put(ERR_MEM_0016, "分配员工信息不匹配,无法分配");
		ERR_MAP.put(ERR_MEM_0017, "共享客户不存在,无法分配");
		ERR_MAP.put(ERR_MEM_0018, "客户跟进记录保存失败");
		ERR_MAP.put(ERR_MEM_0019, "客户信息不存在,无法保存跟进记录");

		ERR_MAP.put(ERR_MEM_0020, "请求参数%s必填");
		ERR_MAP.put(ERR_MEM_0021, "请求参数%s不合法");

		ERR_MAP.put(ERR_MEM_0022, "客户信息不存在,请检查");
		ERR_MAP.put(ERR_MEM_0023, "客户已存在,请重新分配其他店员");
		
		ERR_MAP.put(ERR_FAST_SALE_0001, "客卡单信息不存在");

		ERR_MAP.put(EXCHANGE_REQ_ILLEGAL, "请求参数非法!");
		ERR_MAP.put(EXCHANGE_OUT_SYS_ERR, "%s");
		ERR_MAP.put(EXCHANGE_EMPTY_LIST, "没有查询到订单");
		ERR_MAP.put(EXCHANGE_NO_STORE, "门店编码不存在，请使用门店身份登录");
		ERR_MAP.put(EXCHANGE_NO_COUPON, "该订单没有可发的券");
		ERR_MAP.put(EXCHANGE_NO_ORDER, "获取订单信息失败，请重新获取用户订单进行发券");
		ERR_MAP.put(EXCHANGE_SAVE_RULE, "保存活动规则异常,%s");

	}

	public static final Map<String, String> VGUIDE_ERR_MAP = new HashMap<String, String>();

	public static final String VGUIDE_ERR_E001 = "E001";
	public static final String VGUIDE_ERR_E002 = "E002";

	static {
		VGUIDE_ERR_MAP.put(VGUIDE_ERR_E001, "系统处理失败");
		VGUIDE_ERR_MAP.put(VGUIDE_ERR_E002, "同一记录当天不能重复录入");
	}

	public static final Map<String, String> QUERY_ORDER_ERR_MAP = new HashMap<String, String>();

	public static final String QUERY_ORDER_ERR_E001 = "E001";

	public static final String QUERY_ORDER_ERR_E002 = "E002";

	public static final String QUERY_ORDER_ERR_E999 = "E999";

	static {
		QUERY_ORDER_ERR_MAP.put(QUERY_ORDER_ERR_E001, "请求参数不合法");
		QUERY_ORDER_ERR_MAP.put(QUERY_ORDER_ERR_E002, "调用订单查询接口失败");
		QUERY_ORDER_ERR_MAP.put(QUERY_ORDER_ERR_E999, "系统繁忙，请稍后重试");
	}

	public static final Map<String, String> SERVICE_NUM_ERR_MAP = new HashMap<String, String>();

	public static final String SERVICE_NUM_ERR_001 = "001";

	public static final String SERVICE_NUM_ERR_002 = "002";

	public static final String SERVICE_NUM_ERR_003 = "003";

	public static final String SERVICE_NUM_ERR_999 = "999";

	static {
		SERVICE_NUM_ERR_MAP.put(SERVICE_NUM_ERR_001, "请求参数不合法");
		SERVICE_NUM_ERR_MAP.put(SERVICE_NUM_ERR_002, "保存失败");
		SERVICE_NUM_ERR_MAP.put(SERVICE_NUM_ERR_003, "服务号名称重复");
		SERVICE_NUM_ERR_MAP.put(SERVICE_NUM_ERR_999, "系统繁忙，请稍后重试");
	}

	public static final Map<String, String> MAIN_PUSH_ERR_MAP = new HashMap<String, String>();

	public static final String MAIN_PUSH_ERR_E001 = "E001";

	public static final String MAIN_PUSH_ERR_E002 = "E002";

	public static final String MAIN_PUSH_ERR_E003 = "E003";

	public static final String MAIN_PUSH_ERR_E004 = "E004";

	public static final String MAIN_PUSH_ERR_E005 = "E005";

	public static final String MAIN_PUSH_ERR_E006 = "E006";

	public static final String MAIN_PUSH_ERR_E007 = "E007";

	public static final String MAIN_PUSH_ERR_E008 = "E008";

	public static final String MAIN_PUSH_ERR_E009 = "E009";

	public static final String MAIN_PUSH_ERR_E010 = "E010";

	public static final String MAIN_PUSH_ERR_E011 = "E011";

	public static final String MAIN_PUSH_ERR_E012 = "E012";

	public static final String MAIN_PUSH_ERR_E013 = "E013";

	public static final String MAIN_PUSH_ERR_E014 = "E014";

	public static final String MAIN_PUSH_ERR_E015 = "E015";

	public static final String MAIN_PUSH_ERR_E999 = "E999";

	static {
		MAIN_PUSH_ERR_MAP.put(MAIN_PUSH_ERR_E001, "请求参数不合法");
		MAIN_PUSH_ERR_MAP.put(MAIN_PUSH_ERR_E002, "保存失败");
		MAIN_PUSH_ERR_MAP.put(MAIN_PUSH_ERR_E003, "商品不存在");
		MAIN_PUSH_ERR_MAP.put(MAIN_PUSH_ERR_E004, "任务不存在");
		MAIN_PUSH_ERR_MAP.put(MAIN_PUSH_ERR_E005, "修改对接人失败");
		MAIN_PUSH_ERR_MAP.put(MAIN_PUSH_ERR_E006, "该工号不存在");
		MAIN_PUSH_ERR_MAP.put(MAIN_PUSH_ERR_E007, "导入失败");
		MAIN_PUSH_ERR_MAP.put(MAIN_PUSH_ERR_E008, "导入数据不能为空");
		MAIN_PUSH_ERR_MAP.put(MAIN_PUSH_ERR_E010, "导入校验失败");
		MAIN_PUSH_ERR_MAP.put(MAIN_PUSH_ERR_E011, "大区百分比已存在");
		MAIN_PUSH_ERR_MAP.put(MAIN_PUSH_ERR_E012, "该工号已是大区对接人");
		MAIN_PUSH_ERR_MAP.put(MAIN_PUSH_ERR_E013, "任务主题长度不能超过10");
		MAIN_PUSH_ERR_MAP.put(MAIN_PUSH_ERR_E014, "导入商品不能为空");
		MAIN_PUSH_ERR_MAP.put(MAIN_PUSH_ERR_E015, "该品类在这段时间内已存在主推任务");
		MAIN_PUSH_ERR_MAP.put(MAIN_PUSH_ERR_E999, "系统繁忙");
	}

	public static final String OUT_GRADE_ERR_E001 = "E_OGA_001";
	public static final String OUT_GRADE_ERR_E002 = "E_OGA_002";
	public static final String OUT_GRADE_ERR_E003 = "E_OGA_003";
	public static final String OUT_GRADE_ERR_E004 = "E_OGA_004";
	public static final String OUT_GRADE_ERR_E005 = "E_OGA_005";
	public static final String OUT_GRADE_ERR_E006 = "E_OGA_006";
	public static final String OUT_GRADE_ERR_E007 = "E_OGA_007";
	static {
		ERR_MAP.put(OUT_GRADE_ERR_E001, "请求参数不合法");
		ERR_MAP.put(OUT_GRADE_ERR_E002, "外拓地点任务未分配人员");
		ERR_MAP.put(OUT_GRADE_ERR_E003, "当前任务已有外拓客户，不能删除");
		ERR_MAP.put(OUT_GRADE_ERR_E004, "最多新增5个外拓活动任务");
		ERR_MAP.put(OUT_GRADE_ERR_E005, "最多新增20个外拓地点任务");
		ERR_MAP.put(OUT_GRADE_ERR_E006, "标签数量不能超过20个");
		ERR_MAP.put(OUT_GRADE_ERR_E007, "标签名称已存在");
	}

	public static final Map<String, String> RET_GDS_STATIS_ERR_MAP = new HashMap<String, String>();

	public static final String RET_GDS_STATIS_ERR_E001 = "E001";

	public static final String RET_GDS_STATIS_ERR_E002 = "E002";

	public static final String RET_GDS_STATIS_ERR_E003 = "E003";

	public static final String RET_GDS_STATIS_ERR_E004 = "E004";

	static {
		RET_GDS_STATIS_ERR_MAP.put(RET_GDS_STATIS_ERR_E001, "入参不合法");

		RET_GDS_STATIS_ERR_MAP.put(RET_GDS_STATIS_ERR_E002, "无访问权限");

		RET_GDS_STATIS_ERR_MAP.put(RET_GDS_STATIS_ERR_E003, "该品类不属于该督导");

		RET_GDS_STATIS_ERR_MAP.put(RET_GDS_STATIS_ERR_E004, "该员工没有所属门店");
	}

	public static final Map<String, String> EXPORT_ERR_MAP = new HashMap<String, String>();

	// 文件导出整改
	public static final String EXPORT_ERR_E999 = "E999";
	public static final String EXPORT_ERR_E001 = "E001";
	public static final String EXPORT_ERR_E002 = "E002";
	public static final String EXPORT_ERR_E003 = "E003";
	public static final String EXPORT_ERR_E004 = "E004";
	public static final String EXPORT_ERR_E005 = "E005";
	public static final String EXPORT_ERR_E006 = "E006";
	public static final String EXPORT_ERR_E007 = "E007";

	static {
		EXPORT_ERR_MAP.put(EXPORT_ERR_E999, "系统繁忙，请稍后重试");
		EXPORT_ERR_MAP.put(EXPORT_ERR_E001, "请求参数不合法");
		EXPORT_ERR_MAP.put(EXPORT_ERR_E002, "数据库操作失败");
		EXPORT_ERR_MAP.put(EXPORT_ERR_E003, "执行导出操作失败");
		EXPORT_ERR_MAP.put(EXPORT_ERR_E004, "OSS文件上传参数不合法");
		EXPORT_ERR_MAP.put(EXPORT_ERR_E005, "获取bucket鉴权失败");
		EXPORT_ERR_MAP.put(EXPORT_ERR_E006, "上传文件失败");
		EXPORT_ERR_MAP.put(EXPORT_ERR_E007, "未找到方法");
	}
}
